package indi.kider.server.employee.model;

import lombok.Data;

@Data
public class AppUser<T> {
    private Integer type;//1:房客2:房东3:房客邀请的好友
    private T appUser;
   /* private Tenant relatedUser =new Tenant();*/
    public AppUser() {
    }

    public AppUser(Integer type, T appUser) {
        this.type = type;
        this.appUser = appUser;
    }
    /*public AppUser(Integer type,T appUser,Tenant relatedUser) {
        this.type = type;
        this.appUser = appUser;
        this.relatedUser = relatedUser;
    }*/

    /*public AppUser setRelatedUser(Tenant relatedUser) {
        this.relatedUser = relatedUser;
        return this;
    }*/
}
